// RBAC权限管理相关API
export * from './rbac'
export * from './userGroups'
export * from './courses'

// 教师管理API - 使用具体导出避免getUsers冲突
export {
  createTeacherUser,
  createTeacher,
  getTeachers,
  createUser as createTeacherUserAlias,
  getUser as getTeacherUser,
  updateUser as updateTeacherUser,
  updateTeacher,
  deleteUser as deleteTeacherUser,
  deleteTeacher,
  getUserRoles as getTeacherRoles,
  assignRoleToUser as assignRoleToTeacher,
  removeRoleFromUser as removeRoleFromTeacher,
  getTeacherPermissions,
  batchDeleteTeachers,
  resetTeacherPassword,
  toggleTeacherStatus,
  updateTeacherPermissions,
  importTeachers,
  exportTeachers
} from './teachers'

// 管理员API - 使用别名避免冲突
export {
  getDashboardData,
  getGroupList,
  createGroup,
  updateGroup,
  deleteGroup,
  getQuestionList,
  createQuestion,
  updateQuestion,
  deleteQuestion,
  getPaperList,
  createPaper,
  updatePaper,
  deletePaper,
  getExamAssignmentList,
  getGradingList,
  gradeExam,
  batchGrade,
  getMonitoringData,
  reportCheating,
  detectSimilarity,
  getStudentList,
  createStudent as createStudentAdmin,
  updateStudent as updateStudentAdmin,
  deleteStudent as deleteStudentAdmin
} from './admin'

// 学生API
export {
  getStudents,
  createStudent,
  updateStudent,
  deleteStudent,
  getStudentById,
  getStudentRoles,
  assignRoleToStudent,
  removeRoleFromStudent,
  getStudentPermissions,
  updateStudentPermissions,
  batchDeleteStudents,
  resetStudentPassword,
  toggleStudentStatus,
  importStudents,
  exportStudents
} from './students'
